from books.models import Book

books_published = Book.objects.all()
print(books_published)